package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallGoodsDao;
import com.appkubes.mall.core.entity.MallGoods;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallGoodsService extends AbstractBaseService<BaseMallGoodsDao, MallGoods> {

    MallGoods getOneByEntity(MallGoods entity);

    List<MallGoods> selectListByEntity(MallGoods entity);

    IPage<MallGoods> selectPageByEntity(IPage<MallGoods> page);
    IPage<MallGoods> selectPageByEntity(PageVO pageVO);

    IPage<MallGoods> selectPageByEntity(MallGoods entity, IPage<MallGoods> page);
    IPage<MallGoods> selectPageByEntity(MallGoods entity, PageVO pageVO);

    IPage<MallGoods> selectPageByEntity(MallGoods entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallGoods entity);
}
